package com.sc.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sc.domain.Repair;
import com.sc.dto.RepairDTO;
import com.sc.dto.RepairDateDTO;
import com.sc.dto.RepairPageDTO;
import com.sc.result.PageResult;
import com.sc.vo.RepairVO;

import java.time.LocalDate;
import java.util.List;

public interface RepairService extends IService<Repair> {

    /**
     * 分页查询维修记录
     * @param repairPageDTO 传入查询条件
     * @return 查询结果
     */
    PageResult<RepairVO> pageQuery(RepairPageDTO repairPageDTO);

    List<RepairVO> queryRepairData(RepairDateDTO repairDateDTO);
}
